package com.atguigu.spzx.model.pojo.system;

import com.atguigu.spzx.model.pojo.base.BaseEntity;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.List;

@Data
@TableName(value = "sys_menu")
public class SysMenu extends BaseEntity {

    private Long parentId;

    private String title;

    private String component;

    private Integer sortValue;

    private Integer status;

    @TableField(exist = false)
    private List<SysMenu> children;
}
